import Vue from "vue";
import VueRouter from "vue-router";
// import { grrouter } from "./guanrui/Index.js";
// import { hllrouter } from "./helulu/Index.js";
// import { lhrouter } from "./lihan/Index.js";
// import { mcxrouter } from "./machenxiang/Index.js";
// import { smtrouter } from "./shimengtong/Index.js";
// import { wyzrouter } from "./wangyongzhi/Index.js";
import { zmrouter } from "./zhuomeng/Index.js";
Vue.use(VueRouter);
const routes = [
  // ...grrouter,
  // ...hllrouter,
  // ...lhrouter,
  // ...mcxrouter,
  // ...smtrouter,
  // ...wyzrouter,
  ...zmrouter,
  // 重定向
  {
    path: "/",
    redirect: "/denglu",
    component: () => import("@/views/lihan/DengLu.vue"),
  },
  // 404
  {
    path: "*",
    name: "notfound",
    component: () => import("@/views/NotFound.vue"),
  },
];
const router = new VueRouter({
  mode: "hash",
  base: process.env.BASE_URL,
  routes,
});
export default router;
